#ifndef _CUSTOMCOMBATDEF_H_
#define _CUSTOMCOMBATDEF_H_
#include "MgrBase.h"
#include "SimpleRefection.h"
class CustomCombatDef:public ReflectionBase
{
	DECL_REFLECTION(CustomCombatDef,"../../config/CustomCombatDef.xml");
public:
	int32			m_iID;
	std::string		m_sDisplayName;
	bool			m_bRandom;
	bool			m_bAutoRun;
	bool			m_bCanSkip;
	int32			m_iPlayer0Data;
	int32			m_iPlayer1Data;
	EStartOrderMode m_eStartOrder;

	rewrite virtual void OnArchieveReaded();
private:
};

typedef DefMangerTpl<CustomCombatDef> __CustomCombatDefManager; //eDefaultDef_Num
class CustomCombatDefManager:public __CustomCombatDefManager
{
public:
	static CustomCombatDefManager& Instance(){static CustomCombatDefManager _instance;return _instance;	}
	virtual void OnArchieveReaded();
private:
	CustomCombatDefManager(){}
};

#endif
/////////////////////////////////////////
